﻿using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.Data {
	/// <summary>
	/// 账单表：mc_Bill
	/// </summary>
	public partial class Bill {
		public Bill() {
		}

		/// <summary>
		/// id
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long MerchantId { get; set; }
		/// <summary>
		/// 余额，含待确认
		/// </summary>
		public decimal Balance { get; set; }
		/// <summary>
		/// 待确认
		/// </summary>
		public decimal Unconfirmed { get; set; }
		/// <summary>
		/// 已提现
		/// </summary>
		public decimal Deposited { get; set; }
		/// <summary>
		/// 提现中
		/// </summary>
		public decimal Depositeding { get; set; }
		/// <summary>
		/// 可提现
		/// </summary>
		public decimal Deposit { get; set; }
        /// <summary>
        /// 货款待确认
        /// </summary>
        public decimal GoodsUnconfirmed { get; set; }
        /// <summary>
        /// 可提现货款
        /// </summary>
        public decimal GoodsDeposit { get; set; }
        /// <summary>
        /// 货款提现中
        /// </summary>
        public decimal GoodsDepositing { get; set; }
        /// <summary>
        /// 货款已提现
        /// </summary>
        public decimal GoodsDeposited { get; set; }
		/// <summary>
		/// 代付金额，交易担保
		/// </summary>
		public decimal Security { get; set; }
		/// <summary>
		/// 账务冻结
		/// </summary>
		public bool Freeze { get; set; }
		/// <summary>
		/// O商高清＝收款高清＋APP高清
		/// </summary>
		public decimal OutProfit { get; set; }
		/// <summary>
		/// APP支付或公众号支付的收入金额
		/// </summary>
		public decimal OtherAmt { get; set; }

		/// <summary>
		/// 商户
		/// </summary>
		public virtual Merchant Merchant { get; set; }
	}
}